package com.code.monitor.message;

/**
 * @author ggh
 * @date 2023/4/15
 */
public abstract class SerializableMessage implements Message {
    private Byte serializableType;

    private String ip;

    private Integer port;

    public void setSerializableType(Byte serializableType) {
        this.serializableType = serializableType;
    }

    public Byte getSerializableType() {
        return serializableType;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getPort() {
        return port;
    }
}
